$(document).ready(function() {
    var news_id = null;
    $("div.text").live("click", function() {
        news_id = $(this).attr("id");
        location = "/news/" + news_id;

    });

});